﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ViewMemGuanXi.aspx.cs" Inherits="Manageweb_Member_ViewMemGuanXi" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script src="../Jquery/jquery-latest.min.js" type="text/javascript"></script>

    <script>
        $(function() {
            $("div[id$='TreeView1']").find("a[class*='TreeView']").each(function() {
                var txt = $(this).html();
                var textArray = txt.split(" ");
                var ljscore = textArray[2];
                var specialscore = textArray[3];

                if (ljscore == undefined) {
                    ljscore = 0.00;
                }

                if (specialscore == undefined) {
                    specialscore = 0.00;
                }

                var viewTxt = textArray[0] + "  " + textArray[1] + "   <font color='red'>" + specialscore + "</font>  <font color='green'>" + ljscore + "</font>";

                $(this).html(viewTxt);
            });
        });
    </script>
    

    <style>
        .treeCss td div
        {
            height: 20px !important;
        }
    </style>
</head>
<body onload="OpenDiv()">
    <form id="form1" runat="server">
    <div>
        <div>
            <fieldset>
                <legend>会员关系预览</legend>
                <div>
                    <asp:TreeView ID="TreeView1" runat="server" CssClass="treeCss" ShowLines="True">
                        <NodeStyle ImageUrl="~/Manageweb/images/msn.png" />
                    </asp:TreeView>
                    <%--  <div style="color:#ED8F1A">
          分红奖励累计:100多万元
        </div>--%>
                    <%-- <div>
          <a href="../../product.aspx" style="font-size:20px; color:#1DB6EC">点击购买咖啡机</a>
        </div>--%>
                </div>
            </fieldset>
        </div>
    </div>
    </form>
</body>
</html>
